home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Configuration
/
UPS Monitor 1.4
/
UPS Monitor Readme
next >
Wrap
Text File
|
1993-10-12
|
4KB
|
129 lines
UPS Monitor 1.4
written by Yair Elharrar, July 1993
UPS Monitor is a small hack, used to determine the status of a
serial-connected UPS. Many UPSes come with a DB-9 serial port, which serves
as a status line.
You can connect the UPS to either the modem or printer port, but be sure to
wire the cable according to your needs. The Mains Fail Relay should be wired
to the TxD-/RxD- pins on the Mac serial port and the Battery Low Relay should
be wired to the HSKi/Ground pins on the Mac serial port (i.e. if the power
fails, the TxD- and RxD- pins should contact etc.).
You can use Normally-Closed relays if your UPS supports them. This is useful
to test if the wire is broken etc.
If you choose the Normally-Closed Power Fail option, wire your cable so that
when the power fails the TxD- and RxD- pins should DISCONNECT. The same goes
for the Battery Low relays.
--
To connect a TENSOR T-106B UPS, use the following wiring scheme:
Pin on Mac Serial Port Pin on UPS
3 2
5 7
2 5
4 8
With this wiring, both relays are normally closed.
--
To connect a APC-400 UPS, use the following wiring scheme:
Pin on Mac serial Port Pin on UPS
3 4
5 6
Only the power failure relay is connected, and it's normally closed.
With this wiring, use the timed automatic shutdown.
--
See below for help on wiring other types of UPSes.
--
UPS Monitor sends status requests to the UPS, notifies you if the system is
on battery power, and shuts down your Mac automatically after a specified
period of time. You can disable the automatic shutdown or the battery alert,
and change the status request rate (default is one every 15 seconds).
After connecting the UPS to your Mac, run UPS Monitor and choose
"Configure" from the menu. Configure it according to your needs and click
OK. Put UPS Monitor in your "Startup Items" folder in the System Folder.
Suggested configuration: no automatic shutdown, 15 seconds scan interval,
Logfile on, Shutdown on Battery Low on.
***
QuadraLink and other external-port users:
UPS Monitor has been tested on a Classic II and a IIci, both running System 7.1.
Changes since version 1.3
-------------------------
* Dialog box redesigned to avoid confusion.
* Alert option removed.
* Added QuadraLink support.
Changes since version 1.2
-------------------------
* Fixed a few bugs: "File" menu stayed highlighted after configuring, the
baud setting always defaulted to 2400 baud, the Select Logfile button
didn't work.
* Added a full VERS resource.
* Changed the main GetNextEvent call to WaitNextEvent, thus making UPSMon
less CPU intensive.
* Added an option to monitor normally closed relay contacts.
Changes since version 1.1
-------------------------
* Added Log file option.
* Added Modem/Printer port selection.
* Added "Battery Low" mode support.
Changes since version 1.0
-------------------------
* Fixed a bug that caused UPS Monitor to refuse to quit when shutting down
or restarting.
* Added AppleEvent QUIT support.
* Changed the menu title to "File" instead of "Monitor" to help system 6
users quit UPS Monitor automatically.
Comments, bug reports etc. - send email to
Internet: elharrar@bimacs.cs.biu.ac.il
Bitnet: elharrar@bimacs.bitnet
or
Fax: (Intl.) 972-3-6735203
If you need help on how to wire the cable, send me the wiring scheme of
your UPS's port via e-mail or Fax.
UPS Monitor is shareware and may be freely distributed as long as no
modifications are made and this text file is included. If you decide to
keep it, please send a donation of $15 to:
Yair Elharrar
71 Krinitzi st.
Ramat-Gan 52423
Israel
Portions of this program Copyright ©1986 THINK Technologies, Inc.